/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2013 All Rights Reserved.
 */
package com.losenote.model;

import java.util.Date;

/**
 * 当前用户上下文
 * 
 * @author jingyu.dan
 * @version $Id: OperateContext.java, v 0.1 2013-8-28 下午08:57:10 jingyu.dan Exp $
 */
public class OperateContext {

    /**id地址*/
    private String   ipAddress;

    /**用户信息*/
    private UserInfo userInfo;

    /**登陆时间*/
    private Date     loginDate = new Date();

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

}
